<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>

</head>
<body>
<div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="editModalLabel">
    <div class="modal-dialog" role="document" >
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="editModalLabel">新增</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" id = "dictEdit">
                		<input type="hidden" name="id" id="dictId" value="${param.id }" />
                        
                        <fieldset class="plan-left-info-fieldset">
                                <legend><span>字典类别</span></legend>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label"><span class="required">*</span>编码</label>
                                    <div class="col-sm-10">
                                    <input type="text" maxlength="64" class="form-control" id="code" name="sysDict.dictCode"
                                           placeholder="请输入编码" data-easyform="length:1 64;char-chinese;"
                                           data-message="请输入编码" require="true">
                                    </div>
                                </div >
                                <div class="form-group">
                                    <label class="col-sm-2 control-label"><span class="required">*</span>名称</label>
                                    <div class="col-sm-10">
                                    <input type="text" maxlength="32" class="form-control" id="name" name="sysDict.dictName"
                                           placeholder="请输入名称" data-easyform="length:1 32;char-chinese;"
                                           data-message="请输入名称" require="true">
                                    </div>
                                </div >
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">描述</label>
                                    <div class="col-sm-10">
                                    <textarea  class="form-control" id="description" name="sysDict.description"
                                              data-easyform="char-chinese;length:1 255;"
                                              data-easytip="position:top;"
                                              data-message="请输入描述信息"></textarea>
                                    </div>
                                </div>
                        </fieldset>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal" >取消</button>
                <button type="button" class="btn btn-primary" id="saveDict" onclick="saveDict();">保存</button>
            </div>
        </div>
    </div>
</div>

</body>
</html>
